//
//  UILabel+Extension.swift
//  XHWeibo
//
//  Created by craneteng on 16/5/15.
//  Copyright © 2016年 XHTeng. All rights reserved.
//

import UIKit

extension UILabel {
    
    convenience init (title:String,titleColor:UIColor = UIColor.grayColor() , titleSize:CGFloat = 12) {
        self.init()
        text = title
        textColor = titleColor
        textAlignment = .Center
        numberOfLines = 2
        font = UIFont.systemFontOfSize(titleSize)
    }


    

}
